from django.urls import re_path
from . import views
from rest_framework_jwt.views import obtain_jwt_token

urlpatterns = [
    # 查询所有省
    re_path(r'^areas/$', views.AreaListView.as_view()),
    re_path(r'^areas/(?P<pk>\d+)/$', views.AreaDetailView.as_view()),

]
